package com.example.myys.data.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 阅读记录
 */
@Entity(tableName = "my_read_records")
data class ReadRecordBean(
    @PrimaryKey(autoGenerate = true)
    var id: Int = 0,// 阅读记录id
    var dataBeanId: Int = 0,// 关联数据项id
    var chapterPos: Int = 0,//阅读到了第几章
    var pagePos: Int = 0,//当前的页码
    var lastRead: String = "",//上次阅读的时间
    var type: String = "" //数据类型
)
